package com.lujin.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author jinlu
 * @create 2021-07-06 17:29
 */

@Data
//一级分类
public class OneSubject {
    private String id;
    private String title;
    //一个一级分类有多个二级分类
    private List<TwoSubject> children=new ArrayList<>();
}
